package cn.net.autocode.platform.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class SpringProfileConfig {
    @Value("${spring.profiles.active}")
    private String profile;

    @Value("${spring.upload.storage:database}")
    private String storage;

    @Value("${spring.upload.root-dir:disk}")
    private String rootDir;
}